<?php if(count($this->categories) > 0): ?>
	<div class="box-title">Kategorie</div>
	<div class="category-box">
		<ul>
			<?php foreach($this->categories AS $category): ?>
				<li><a <?php echo ($category->getId() == $this->subcatId) ? 'class="active"' : '' ?> href="<?php echo $this->urlThisPage(array('sherpa' => array('catId' => $this->catId, 'subcatId' => $category->getId()))) ?>"><?php echo $this->escape($category->getName()) ?></a></li>
			<?php endforeach; ?>
		</ul>
	</div>
	<?php if(empty($this->subcatId) && $this->sideBannerImage->isFile()): ?>
		<div class="sidebanner"><?php echo $this->sideBannerImage->getHtml() ?></div>
	<?php endif; ?>
<?php endif; ?>